package com.ysuedu.entity;

import java.util.Date;

public class Captcha {
    private String code;
    //验证码对应用户
    private String userAccount;
    //验证码生成时间
    private Date createTime;
    //验证码有效期限，单位为分钟
    private int expire;
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getExpire() {
        return expire;
    }

    public void setExpire(int expire) {
        this.expire = expire;
    }
}
